package cn.itsource.itsource.domain;

import lombok.Data;

import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

@Table(name="t_shop")
public class Shop {
    public static final Integer STATE_DAISHENGHE = 0;
    public static final Integer STATE_TONGGUO = 0;
    public static final Integer STATE_WEITONGGUO = 0;
    public static final Integer STATE_GUANBI = 0;

    @Id
    private Long id;
    private String name;
    private String tel;
    private Date registerTime;
    private Integer state;
    private String address;
    private String logo;
    private Long adminId;

    public static Integer getStateDaishenghe() {
        return STATE_DAISHENGHE;
    }

    public static Integer getStateTongguo() {
        return STATE_TONGGUO;
    }

    public static Integer getStateWeitongguo() {
        return STATE_WEITONGGUO;
    }

    public static Integer getStateGuanbi() {
        return STATE_GUANBI;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public Date getRegisterTime() {
        return registerTime;
    }

    public void setRegisterTime(Date registerTime) {
        this.registerTime = registerTime;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getLogo() {
        return logo;
    }

    public void setLogo(String logo) {
        this.logo = logo;
    }

    public Long getAdminId() {
        return adminId;
    }

    public void setAdminId(Long adminId) {
        this.adminId = adminId;
    }
}
